body {
    margin: 0;
    background-color: #f5f5f5;
}

/* 导航条 */

#nav {
    width: 1200px;
    margin: 0 auto;
}

#nav-top {
    display: flex;
    justify-content: space-between;
}

.top-ul ul {
    display: flex;
    list-style: none;
    color: #a4a4a4;
    font-size: 12px;
    margin: 0;
    padding: 0;

}

.top-ul ul li {
    margin-top: 5px;
    padding-right: 10px;
}

.top-ul ul li::after {
    content: "|";
    margin-left: 6px;
}

.top-ul ul li:nth-of-type(9)::after {
    content: "";
}

.top-ul ul li:nth-of-type(10)::after {
    content: "";
}

.list ul li:nth-of-type(1)::after {
    content: "";
}

.list ul li:nth-of-type(4)::after {
    content: "";
}

.fa-sort-desc,
.fa-sort-asc {
    margin: 0;
}

.top-ul ul li:nth-of-type(9) {
    position: relative;
    top: -2px;
    left: 0;
}

.top-ul ul li:nth-of-type(10) {
    position: relative;
    top: -2px;
    left: 0;
}

.fa-sort-desc {
    font-size: 16px;
    margin-left: 10px;
    position: relative;
    top: -4px;
    left: 0;
}

.fa-sort-asc {
    display: none;
}

.list ul li:nth-of-type(4) {
    position: relative;
    top: 2px;
    left: 0;
}

.fa-cart-plus {
    position: relative;
    top: 0px;
    left: -5px;
}

.top-ul ul li:hover {
    color: rgb(202, 21, 29);
}

.top-ul ul li:hover .fa-sort-desc {
    display: none;
}

.top-ul ul li:hover .fa-sort-asc {
    display: inline-block;
    font-size: 16px;
    margin-left: 10px;
    position: relative;
    top: 2px;
    left: 0;
}

#nav-bottom {
    display: flex;
    justify-content: space-between;
}

#logo {
    width: 240px;
    height: 50px;
}

#bottom-list {
    display: flex;
    list-style: none;
    margin-left: -250px;
    padding: 0;
}

#bottom-list li {
    padding: 0 10px;
    color: #3a3a3a;
}

#bottom-input {
    /* line-height: 30px; */
    height: 32px;
    border: 1px solid #a4a4a4;
    display: inline-block;
    box-sizing: border-box;
    position: relative;
    top: 10px;
    left: 0;

}

#input {
    width: 309px;
    height: 30px;
    border: none;
    box-sizing: border-box;
    text-shadow: 0 0 15px black;
}

.fa-search {
    font-size: 18px;
    padding-right: 15px;
}

#banner-list {
    background-image: url(img/hg.jpg);
    width: 100%;
    height: 450px;
    margin-top: -10px;
    display: flex;
    flex-direction: column;
}

.banner-call {
    margin-left: 353px;
    width: 220px;
    height: 90px;
    padding: 10px 16px;
    background-color: rgba(15, 15, 15, 0.5);
}

.banner-call:hover {
    background-color: rgb(61, 61, 61);
}

.banner-call p {
    margin: 0;
    /* padding: 10px 0; */
}

.fa-angle-right {
    font-size: 20px;
    padding-left: 50px;
}

/* 内容 */
#content{
    width: 1200px;
    margin: 0 auto;
    box-sizing: border-box;
}

#main {
    display: flex;
    justify-content: space-between;
}

#main-left {
    width: 248px;
    display: flex;
    align-items: center;
    margin: 15px;
    padding: 0 10px;
    border-right: 1px solid #eaeaea;
}

#proper {
    width: 59px;
    height: 59px;
}

#main-left p {
    color: rgb(164, 164, 164);
    font-size: 12px;
    display: block;
    width: 168px;
    height: 31px;
    padding: 0px 10px;
    margin: 0;
}

#main-left p a {
    color: #3a3a3a;
}

#main-left p a:hover {
    color: red;
}

.fuli {
    width: 60px;
    height: 18px;
    margin-left: 8px;
    text-align: center;
    line-height: 20px;
    border: 1px solid red;
    font-size: 12px;
    color: red;
    display: inline-block;
    margin-top: 5px;
}

.fuli:hover {
    color: white;
    background-color: red;
}

#left-right {
    margin-left: 15px;
}

#main-center {
    width: 600px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-sizing: border-box;
    margin-top: 15px;
}

.center-icon {
    width: 61px;
    height: 74px;
}

.icon {
    width: 40px;
    height: 40px;
    /* background-color: #f5f5f5; */
    background-image: url(img/icon.png);
    background-position: 0% 0%;
    background-size: 750% 100%;
}

.center-icon p {
    margin: 0;
    font-size: 12px;
    color: #333;
    /* margin-left: 2px; */
}

.center-icon p:hover {
    color: #ca151d;

}

.img2 {
    background-position: 15.5% 100%;
}

.img3 {
    background-position: 31% 100%;
}

.img4 {
    background-position: 46% 100%;
}

.img5 {
    background-position: 62% 100%;
}

.img6 {
    background-position: 77% 100%;
}

#main-right {
    width: 300px;
    border: 1px solid #eaeaea;
}

#right-top {
    height: 48px;
    line-height: 48px;
    border-bottom: 1px solid #eaeaea;
}

#gg {
    color: #cb0c17;
    font-weight: bold;
    padding: 0 20px 0 10px;
}

#right-bottom {
    display: flex;
    justify-content: space-around;
    margin-top: 10px;
    font-size: 14px;
    color: #3a3a3a;
}

.img7 {
    width: 30px;
    height: 30px;
    background-size: 1000% 140%;
    background-position: 86% 0%;
}

.img8 {
    width: 25px;
    height: 25px;
    background-size: 1370% 170%;
    background-position: 93.5% 0%;
}

.img9 {
    width: 25px;
    height: 30px;
    background-size: 1370% 150%;
    background-position: 100% 0%;
}

#right-bottom span:hover {
    color: #ca151d;
}

/* 内容-4个广告部分 */

#advertisement {
    
    display: flex;
    justify-content: space-around;
}

.adv {
    width: 25%;
    height: 160px;
    margin: 20px 10px 0 0;
    box-sizing: border-box;
    transition: all 0.3s linear;
}
.adv:hover{
    box-shadow: 0 5px 20px 0  rgb(168, 165, 165);
}

.bg1 {
    background-image: url(img/sy.png);
}
.bg2 {
    background-image: url(img/wucall.png);
}
.bg3 {
    background-image: url(img/zly.png);
}
.bg4 {
    background-image: url(img/yyqx.png);
    margin-right: 0;
}
/* 热销单品 */
.product{
    display: flex;
    justify-content: space-between;
    box-sizing: border-box;
    flex-wrap: wrap;
}
#hot-title{
    font-size: 22px;
    font-weight: normal;
    color: #3a3a3a;
}
#single{
    width: 100%;
    display: flex;
}
#gxt{
    width: 232px;
    height: 590px;
    background-image: url(img/gxt.jpg);
    position: relative;
    transition: all 0.3s linear;
}
#gxt:hover{
    top: -2px;
    box-shadow: 0 5px 10px 0 #a4a4a4;
}
.product{
    width: 968px;
    padding-left: 10px;
    box-sizing: border-box;
}
.danping{
    width: 232px;
    height: 290px;
    display: flex;
    background-color: white;
    display: flex;
    flex-flow: column;
    transition: all 0.3s linear;
    position: relative;
    /* margin: 0 5px; */
    /* margin-left: 20px; */
}
.danping:hover{
    top: -2px;
    box-shadow: 0 5px 10px 0 #a4a4a4;
}
.product-icon{
    width: 148px;
    height: 148px;
    background-image: url(img/hg-call.jpg);
    background-size: 100% 100%;
    margin: 25px 42px ;
    position: relative;
}
.danping1{
    background-image: url(img/danping1.jpg);
}
.product p{
    margin: 0 auto;
    font-size: 14px;
}
.product span{
    display: inline-block;
    margin: 5px auto;
    font-size: 12px;
    color: #a4a4a4;
}
.product p:nth-of-type(1){
    color: #333;
}
.product p:nth-of-type(2){
    color: #ca151d;
}
.icon-hot{
    font-size: 16px;
    color: white !important;
    background-color: #fdb610;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    text-align: center;
    line-height: 48px;
    position: absolute;
    bottom: -10px;
    right: -10px;
}